html {
  background: white;
}

main {
  width: 100%;
}

body {
  background-color: white;
}

@height: 10rem;
.bg-img {
  left: 0;
  top: 0;
  position: absolute;
  max-height: @height;
  min-height: @height;
  width: 100%;
}

.banner {
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
  position: relative;
  max-height: @height;
  min-height: @height;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 2;
  }
  svg {
    position: relative;
    z-index: 4;
    font-size: 1.3rem;
  }
}

.setting-container {
  text-align: right;

  .icon {
    margin: 0 1rem 0 0;
    color: #f2f2f2;
  }
}

.user-container {
  position: relative;
  z-index: 3;
  margin: 0 .5rem;
  padding: 1rem 0;
  transform: translateY(-2rem);
  background: white;
  border-radius: 3px;
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, .3);
}

.become-landlord {
  box-sizing: border-box;
  background: white;
  padding: .5rem 0;
  text-align: center;
  transform: translateY(-3rem);
  box-shadow: 0 0 5px -2px rgba(0, 0, 0, .3);
  color: orange;
  margin: 2rem .5rem 0 .5rem;
}

.btn-container {
  padding: 0 .5rem;
  position: relative;
  z-index: 4;
}

.avatar {
  display: flex;
  margin-bottom: 1rem;

  img {
    @size: 4rem;
    max-width: @size;
    max-height: @size;
    min-width: @size;
    min-height: @size;
    border-radius: 50%;
    margin-right: .5rem;
    border: 2px solid #f2f2f2;
  }
}

.user-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  div {
    padding: 5px 0;
  }
  .name {
    font-weight: 500;
    color: #f2f2f2;
  }
  .ren-zheng {
    font-size: 14px;
    color: #f2f2f2;
  }
}

.btn-group {
  display: flex;
  margin-top: .5rem;

  svg {
    color: #f44100;
    margin-bottom: 3px;
    font-size: 1.2rem;
  }

  > div {
    width: calc(100% / 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .des {
    font-size: 12px;
    color: #a2a2a8;
  }

  .btn-title {
    font-size: 14px;
    color: #434343;
  }
}

.btn-group-line1 {
  margin-bottom: .5rem;
}

.house-res-handle {
}

.container-help {
  padding-bottom: 1rem;
}

#container-share {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: white;
  transition: all .4s;
  transform: translate3d(0, 100%, 0);
  &.restore {
    transform: translate3d(0, 0, 0);
  }

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .2);
    transform: scaleY(.5);
  }

  .share-group {
    flex-grow: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    width: 100%;
    padding: .5rem 0;
  }
  .share-group div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cancel {
    width: 100%;
    text-align: center;
    flex-grow: 1;
    padding: 5px 0;
    font-size: 14px;
    color: #6d6d72;
  }
}

.bg-img {
  filter: blur(40px);
}

.cube {
  animation: cube 1s ease;
}

@keyframes cube {
  0% {
    transform: rotateY(0) translate3d(0, 0, 0);
  }
  50% {
    transform: rotateY(90deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotateY(0) translate3d(0, 0, 0);
  }
}